<?php

class Kzend_Table_Abstract extends Zend_Db_Table_Abstract
{
	protected $_logger = null;
	protected $_messageManager = null;

    public function __construct()
    {
		parent::__construct();

		$this->_logger = Zend_Registry::get("Kzend_Logger");
		$this->_messageManager = Zend_Registry::get("Kzend_MessageManager");
    }

	public function getLogger()
	{
		return $this->_logger;
	}

	public function getMessage($msgId)
	{
		return $this->_messageManager->get($msgId);
	}

	public function getMessageManager()
	{
		return $this->_messageManager;
	}
}
